// 多es6内置api做兼容处理,你想兼容的浏览器
import 'react-app-polyfill/ie11'
import 'react-app-polyfill/stable'
import 'react-app-polyfill/ie9'


import React from 'react'
import ReactDOM from 'react-dom/client';
import '@/index.less'

const root = ReactDOM.createRoot(document.getElementById('root'))
root.render(
    <div>react系统课程</div>
)

fetch('jian/subscriptions/recommended_collections')
.then(response => response.json())
.then(value =>{
    console.log(value);
})

fetch('zhi/news/latest')
.then(response => response.json())
.then(value =>{
    console.log(value);
})